package com.dy.design_pattern_study.visitor_pattern.dome2;

import com.dy.design_pattern_study.visitor_pattern.dome2.impl.Man;
import com.dy.design_pattern_study.visitor_pattern.dome2.impl.Woman;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-04-24
 * @Content 抽象的反应 --这个就是访问者
 */
public abstract class Action {
    //得到结论或反应
    public abstract void getManConclusion(Man concreteElement);
    public abstract void getWomanConclusion(Woman concreteElement);
}
